import request from '@/http/request'
// 活动列表查询
export const $getActiveList = (params) => {
    return request.request({
      url: '/api/activity/type',
      method: 'get',
      params: params
    })
  }

//  活动类型新增
export const $activityTypeAdd=(params)=> {
    return request.request({
      url: '/api/activity/type',
      method: 'post',
      params: params
    })
  }

//   修改活动类型
export const $activityTypeEdit=(params)=> {
    return request.request({
      url: '/api/activity/type',
      method: 'put',
      params: params
    })
  }
  // 删除活动类型
  export const $activityTypeDelete=(activityTypeNo)=> {
    return request.request({
      url: '/api/activity/type',
      method: 'delete',
      params:  {activityTypeNo} 
    })
  }